/*
 * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@use 'sass:map';
@use '@angular/material' as mat;
@use '@gravitee/ui-particles-angular' as gio;
@use '../../scss/gio-layout' as gio-layout;

$typography: map.get(gio.$mat-theme, typography);

:host {
  @include gio-layout.gio-responsive-content-container;
}

.page-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;

  .page-title {
    @include mat.typography-level($typography, headline-6);
    margin: 0 0 4px 0;
  }

  .description {
    color: mat.get-color-from-palette(gio.$mat-space-palette, 'lighter40');
    @include mat.typography-level($typography, body-2);
  }

  &__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.no-integrations {
  &__img {
    display: flex;
    justify-content: center;
    padding: 36px 0 24px 0;

    .banner {
      width: 327px;
    }
  }

  &__message {
    display: flex;
    flex-direction: column;
    padding: 12px 0 22px 0;

    .header {
      @include mat.typography-level($typography, 'headline-6');
      align-self: center;
    }

    .description {
      color: mat.get-color-from-palette(gio.$mat-space-palette, 'lighter40');
      @include mat.typography-level($typography, body-2);
      width: 343px;
      align-self: center;
      text-align: center;
    }
  }
}
